package com.weiyuwqj.api.model.convert;


import java.math.BigDecimal;

/**
 * Created by huzj on 2016/8/30.
 */
public class ItemRateConvert extends DefaultConvert {
    @Override
    public Object convert(Object val) {
        if(val==null) return "";
        if(!(val instanceof BigDecimal)){
            return "";
        }
        return val.toString()+"%";
    }
}
